import Router from '@koa/router'

export function Controller(option: Router.RouterOptions) {
    return function (target: Function) {
        target.prototype._ROUTER_ = new Router(option)
    }
}
